package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.ShareLog;
import com.py.framework.core.common.Page;

public interface ShareLogService {

	List<ShareLog> getListForPage(String sortType, Page page);

	public List<Map<String, Object>> getByConditionForPage(List<String> showColumns, String[] additionalColumns,
			String condition, Page page);

	void add(int sortType, String searchCatalog, String ip, String username, String realname, long deptId,String content);

	/**
	 * @param type
	 * @return
	 */
	Integer getQueryCountByType(int type);
}
